/**
 * Patient App
 */
var patientApp = angular.module('PatientApp', ['ui.bootstrap', 'ngTable', 'ngRoute', 'ui.mask']);

patientApp.config(
    ['$routeProvider',
     function($routeProvider) {
        $routeProvider.
        when("/patients", {
            templateUrl: "/PatientFirst/restricted/views/patients.html",
            controller: "PatientCtrl"
        }).
        when("/providers", {
            templateUrl: "/PatientFirst/restricted/views/providers.html",
            controller: "ProviderCtrl"
        }).
        otherwise({
            redirectTo: "/patients/"
        });
    }]
);